import request from '@/utils/request'

export function getSysDictTypeList(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/sysDictType/getList',
    method: 'post',
    data: params
  })
}

export function addSysDictType(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/sysDictType/add',
    method: 'post',
    data: params
  })
}

export function editSysDictType(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/sysDictType/edit',
    method: 'post',
    data: params
  })
}

export function deleteSysDictType(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/sysDictType/delete',
    method: 'post',
    data: params
  })
}